package com.gang.mars.basic.generictype.demo1;

/**
 * 泛型类
 * @author gang.chen
 * @since  2021/7/13 12:19
 */
public class AppTest {
    public static void main(String[] args) {
        Apple02 apple02 = new Apple02();
        System.out.println(apple02.getKey());

        Apple03<String,Integer> apple03 = new Apple03<>("gang.chen",25);
        System.out.println(apple03.getKey());
        System.out.println(apple03.getResult());
    }
}
